//转换时间格式
exports.formatUTC = (time, callback) => {

    var dateee = new Date(String(time)).toJSON()
    let beijing_datetime = new Date(+new Date(dateee) + 8 * 3600 * 1000).toISOString()
        .replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '')
    //返回转换的北京时间
    beijing_datetime = beijing_datetime.split(' ')
    callback(beijing_datetime[0])
}

